package com.bank.user.service;

import com.bank.model.entity.Account;
import com.bank.model.vo.account.AccountUpdatePasswordVo;
import com.bank.model.vo.account.AccountVo;
import org.springframework.web.bind.annotation.PostMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author Cejay1314
 * @version 1.0
 * @create 2023/3/27 16:40
 */

public interface AccountService {

    //    创建账户
    void createAccount(AccountUpdatePasswordVo accountUpdatePasswordVo, Long userId);
    List<AccountVo> getAccountsVo(Long userId);
    List<Account> getAccounts(Long userId);
//    查询某个账户
    Account getAccount(String accountId);
//    批量查询账户
    List<Account> getAccounts(List<String> accountIds);
    void updataAccount(Account account);
    //    删除账户
    void delAccount(AccountUpdatePasswordVo accountUpdatePasswordVoo,Long userId);
}

